import { createApp } from 'vue';
import App from './App.vue';
// 导入element-plus
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import * as ElIcons from '@element-plus/icons';

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
const app = createApp(App);

app.use(ElementPlus, { locale });
app.mount('#app');
